import request from '@/api/request'

function categoryNavigation(data) {
    return request({
        url: '/bufan/category/indexaction',
        method: 'get',
        data
    })
}

function categoryList(data) {
    return request({
        url: '/bufan/category/currentaction',
        method: 'get',
        data
    })
}

export default ({
    categoryNavigation,
    categoryList
})